package com.tarena.lbs.content.service;

import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.content.pojo.param.ArticleActionParam;
import com.tarena.lbs.content.pojo.param.ArticleContentParam;
import com.tarena.lbs.content.pojo.query.ArticleQuery;
import com.tarena.lbs.content.pojo.vo.ArticleVO;

public interface ArticleService {


    PageResult<ArticleVO> articleList(ArticleQuery articleQuery);

    void updateArticle(ArticleContentParam param);

    void deleteArticle(ArticleContentParam param);

    ArticleVO articleDetail(String id);


    void insertArticle(ArticleContentParam param);

    PageResult<ArticleVO> pageListByAreaId(ArticleQuery query);

    void articleBehavior(ArticleActionParam param);

    void updateArticleGeoLocation(Integer id, Double longitude, Double latitude);
}
